config_setting(
    name = "linux_base",
    define_values = {
        "linux_base": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "android",
    values = {
        "crosstool_top": "//external:android/crosstool",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "linux",
    define_values = {
        "linux": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "darwin",
    define_values = {
        "darwin": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "android_armv7",
    values = {
        "crosstool_top": "//external:android/crosstool",
        "cpu": "armeabi-v7a",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "android_arm64",
    values = {
        "crosstool_top": "//external:android/crosstool",
        "cpu": "arm64-v8a",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "arm_linux_aarch64",
    values = {
        "crosstool_top": "//tools/aarch64_compiler:toolchain",
        "cpu": "aarch64",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "arm_linux_armhf",
    values = {
        "crosstool_top": "//tools/arm_compiler:toolchain",
        "cpu": "armeabi-v7a",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "cpu_enabled",
    define_values = {
        "cpu_enabled": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "neon_enabled",
    define_values = {
        "neon": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "apu_enabled",
    define_values = {
        "apu": "true",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
        "cpu": "arm64-v8a",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "apu_v1",
    define_values = {
        "apu_version": "1",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
        "cpu": "arm64-v8a",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "apu_v2",
    define_values = {
        "apu_version": "2",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
        "cpu": "arm64-v8a",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "apu_v3",
    define_values = {
        "apu_version": "3",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
        "cpu": "arm64-v8a",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "apu_v4",
    define_values = {
        "apu_version": "4",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
        "cpu": "arm64-v8a",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "qnn_enabled",
    define_values = {
        "qnn": "true",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "hexagon_enabled",
    define_values = {
        "hexagon": "true",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "hta_enabled",
    define_values = {
        "hta": "true",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "opencl_enabled",
    define_values = {
        "opencl": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "quantize_enabled",
    define_values = {
        "quantize": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "bfloat16_enabled",
    define_values = {
        "bfloat16": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "fp16_enabled",
    define_values = {
        "fp16": "true",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "rpcmem_enabled",
    define_values = {
        "rpcmem": "true",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
    },
    visibility = ["//visibility:public"],
)

config_setting(
    name = "opencl_and_rpcmem_enabled",
    define_values = {
        "rpcmem": "true",
        "opencl": "true",
    },
    values = {
        "crosstool_top": "//external:android/crosstool",
    },
    visibility = ["//visibility:public"],
)
